package com.dragon.pear.modules.sample.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.dragon.pear.modules.sample.dao.repository.SmpGoodsRepository;
import com.dragon.pear.modules.sample.service.assistants.converters.SmpGoodsConverter;
import com.dragon.pear.modules.sample.service.def.SmpGoodsService;

/**
 * @author Chris Chan
 * Create on 2025-10-15 17:59
 * Use for: 商品 业务处理服务 实现类
 * Explain:
 * 
 */
@Service
public class SmpGoodsServiceImpl implements SmpGoodsService {
    @Autowired
    private SmpGoodsRepository smpGoodsRepository;
    @Autowired
    private SmpGoodsConverter smpGoodsConverter;

    @Override
    public SmpGoodsRepository getRepository() {
        return smpGoodsRepository;
    }

    @Override
    public SmpGoodsConverter getConverter() {
        return smpGoodsConverter;
    }
}